-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[Loading Animation] New app #4089
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This README provides information about the loading animation feature, its purpose, and known bugs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds a new bootloader app called "Loading Animation" that displays an expanding circle animation when Bangle.load() is called, providing visual feedback during app transitions on Bangle.js 2 devices.
Key changes:
- Introduces a visual loading animation using an expanding circle effect
- Modifies the
Bangle.load()function to show animation before loading apps - Implements a 0.3-second animation delay before app transitions
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| apps/loadanim/metadata.json | App metadata defining the bootloader configuration |
| apps/loadanim/icon.png | App icon in PNG format |
| apps/loadanim/boot.js | Core logic implementing the animation and Bangle.load override |
| apps/loadanim/README.md | Documentation explaining the app's purpose and known bugs |
| apps/loadanim/ChangeLog | Version history tracking |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Very cool! |
|
Thanks 🙏 The effect is cool but the loading times are increased fairly much on my watch 🫤 |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
I suppose it's just a matter of personal preference - I like having the watch animate when loading, even if it costs me a 1-2 seconds of loading time. Hopefully everyone can at least try it out to see what they think... |
|
On the latest cutting edge firmwares I actually implemented something that could really help here. It's a timer that allows you to execute JS while the app is executing other JS. So if you add some code like this into You'll actually end up with an animation of a circle that increases and shows the app while it is loading - it won't slow the loading of the new app down anywhere near as much (basically only what's required to update the screen). Similarly this one takes a screenshot of the screen and scrolls it off: So I'd rather not put your code in, but instead do something using this new feature. I'll commit a new app in a few minutes |
|
Oh wow, that looks really good! I'll play around with this and see what I can do! Thanks! |
|
I've just pushed an app (sorry, I stole your It should be pretty easy to add your own animations into that. My favourite is the 'progress' one. It's worth noting:
|
Makes me think of a progress bar-like animation I want to try (if no one else is quicker to it): A thin line that zips across right to left from the HW button at the middle of the screen. Then maybe it bounces back like a yo-yo (maybe it even has a circle at the end for the yo-yo style to be complete!) I imagine that way it connects very much with the action of pressing the button. |
This is a test app from this discussion
This app adds an animation when Bangle.load is called, for more fluidity in the UI, making it feel more lively and responsive
The app is in beta, meaning some bugs will be present, but nothing that breaks a device, and has been extensively tested by me for almost a month now.